#ifndef MainDialog_H
#define MainDialog_H

#include <QDialog>
#include "Config/Config.h"

namespace Ui {
class Sign_Scanner;
}

class MainDialog : public QDialog
{
    Q_OBJECT
    
public:
    explicit MainDialog(QWidget *parent, IConfig *config);
    ~MainDialog();

private slots:
    void on_selectFileDialog_clicked();

    void on_selectPathDialog_clicked();

    void on_selectPath_clicked();

    void on_selectByteArray_clicked();

    void on_selectFile_clicked();

    void on_editByteArray_textChanged(const QString &arg1);

    void on_scan_clicked();

    void on_editFileName_textChanged(const QString &arg1);

    void on_editPath_textChanged(const QString &arg1);

    void on_dialogEnterHEX_clicked();

private:
    Ui::Sign_Scanner *ui;

    void refreshWidgets();

    IConfig *mConfig;
};

#endif // MainDialog_H
